package com.dyw.mybatisplus05mapper.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dyw.mybatisplus05mapper.entity.Person;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.sql.Wrapper;
import java.util.List;

/**
 * @author Devil
 * @create 2022-01-22-19:17
 */
@Mapper
@SuppressWarnings("all")
public interface PersonMapper extends BaseMapper<Person>{
    @Select("select pid,people_name from people order by pid")
    List<Person> selectAllPerson();
}
